<template>
  <img :style="transformStyle(props.style)" :src="props.src" />
</template>
<script setup>
import { transformStyle } from '@/utils'
const props = defineProps({
  style: Object,
  src: {
    type: String,
    default: 'https://img2.baidu.com/it/u=3881927336,607017558&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500'
  }
})
</script>
<style lang="scss"></style>
